package com.example.api.model.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 收费规则
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class TollRule implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 收费规则id
     */
    private Integer id;

    /**
     * 价格
     */
    private BigDecimal price;

    /**
     * 描述
     */
    private String description;

}
